package com.yaoxuguang.concurrence.mic;

/**
 * @author yaoxuguang
 * @Title: yao-interview
 * @Package com.yaoxuguang.concurrence
 * @Description: 实现Runnable接口编写多线程示例
 * @date 2018年12月14日11:28
 */
public class MyRunnable implements Runnable {
    @Override
    public void run() {
        System.out.printf("my threadBase: %s %n",Thread.currentThread().getName());
    }

    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        myRunnable.run();
    }
}
